package com.travel.service;

import com.qianfeng.util.ResultMsg;
import com.travel.entity.TbView;

public interface ViewService {
    ResultMsg findAll(int current, int size);

    ResultMsg findAllCity(int cityId);

    ResultMsg findAllCityName(String cityName);

    ResultMsg findDesc();

    ResultMsg viewAsc();

    ResultMsg findName(String cityName);

    ResultMsg viewCityNameAndVname(String cname, String vname);

    ResultMsg viewFindId(Integer viewId);


    ResultMsg addOne(TbView tbView);

    ResultMsg deleteOne(Integer viewId);

    ResultMsg updateOne(TbView tbView);
}
